package cn.wellwan.mybatis;

import cn.wellwan.mybatis.proxy.CglibProxy;
import cn.wellwan.mybatis.service.IUserService;
import cn.wellwan.mybatis.service.impl.UserServiceImpl;

/**
 * creator: maokai
 * on: 2018/3/7
 * description:
 */
public class CglibProxyMain {

    public static void main (String[] args) {
        CglibProxy proxy = new CglibProxy();
        IUserService instance = (IUserService)proxy.getInstance(new UserServiceImpl());
        instance.findUserList();
    }
}
